home *** CD-ROM | disk | FTP | other *** search
/ Java for 3D & VRML Worlds / Java for 3d and VRML Worlds.iso / vs / browser / cpb10eb.exe / DATA.Z / gate.wrl < prev    next >
Text File  |  1996-09-19  |  804b  |  40 lines

  1. #VRML V2.0 utf8
  2. DEF GATE1 Transform {
  3.     children [
  4.     Transform {
  5.         children [
  6.             DEF BOX1 Shape{
  7.             appearance  Appearance{
  8.              material Material{
  9.                           diffuseColor 0.6 0.6 0.8
  10.                           emissiveColor  0.2 0.2 0.4
  11.                  }
  12.                  }
  13.              geometry Box { size 0.08 1.05 0.08}
  14.         }
  15.         ]
  16.     }
  17.     Transform {
  18.         translation 0.5 0 0.4
  19.         children [ Shape {
  20.             appearance  Appearance{
  21.              material Material{
  22.                           diffuseColor 0.4 0.8 0.4
  23.                           emissiveColor  0.1 0.4 0.1
  24.             }
  25.             }
  26.             geometry Sphere { radius 0.1 }} ]
  27.     }
  28.     Transform {
  29.         translation 1 0 0
  30.         children [ USE BOX1 ]
  31.     }
  32.     Transform {
  33.         translation 0.5 0.49 0
  34.         rotation 0 0 1 1.57
  35.         children [ USE BOX1 ]
  36.     }
  37.     ]
  38. }
  39.  
  40.